package com.briup.server.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
@Schema(description = "验证码登录")
public class UserLoginByCodeDTO {
    @Schema(description = "邮箱/手机号")
    @NotBlank(message = "邮箱/手机号不能为空")
    private String email;
    @Schema(description = "验证码")
    @NotBlank(message = "验证码不能为空")
    private String code;
}
